package com.xinnet.mms.entity;

import java.sql.Timestamp;

import com.xinnet.core.entity.AbstractEntity;
/**
 * 
 * 
 * 老系统商品对应的实体
 * @author Jerry
 * @version 1.0
 *
 */
@SuppressWarnings("serial")
public class Good extends AbstractEntity {
	

	private String name;//商品名称
	private String goodCode;//商品编号
	private String productCode;//产品编号
	private String goodType;//商品类型。单品、组合和附属
	private String goodClass;//商品的类型，自动针对产品的k类型
	private String state;//商品状态 01为上架，02为下下架
	private Timestamp beginTime;//开始时间
	private Timestamp endTime;//结束时间
	private String reNewType;
	private String upGradeType;
	private String regionType;
	private String description;
	private String priceType;
	private String goodAlias;
	private String goodsAppendValue;
	private String pricePromitionYears;
	private String pageCode;
	
	
	/**
	 * 构造器
	 */
	public Good() {
		super();
		
	}
	public Good(String name, String goodCode, String productCode,
			String goodType, String goodClass, String state,
			Timestamp beginTime, Timestamp endTime, String reNewType,
			String upGradeType, String regionType, String description,
			String priceType, String goodAlias, String goodsAppendValue,
			String pricePromitionYears, String pageCode) {
		super();
		this.name = name;
		this.goodCode = goodCode;
		this.productCode = productCode;
		this.goodType = goodType;
		this.goodClass = goodClass;
		this.state = state;
		this.beginTime = beginTime;
		this.endTime = endTime;
		this.reNewType = reNewType;
		this.upGradeType = upGradeType;
		this.regionType = regionType;
		this.description = description;
		this.priceType = priceType;
		this.goodAlias = goodAlias;
		this.goodsAppendValue = goodsAppendValue;
		this.pricePromitionYears = pricePromitionYears;
		this.pageCode = pageCode;
	}

	
	/**
	 * 属性构造器
	 * @return
	 */
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGoodCode() {
		return goodCode;
	}
	public void setGoodCode(String goodCode) {
		this.goodCode = goodCode;
	}
	public String getProductCode() {
		return productCode;
	}
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}
	public String getGoodType() {
		return goodType;
	}
	public void setGoodType(String goodType) {
		this.goodType = goodType;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Timestamp getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(Timestamp beginTime) {
		this.beginTime = beginTime;
	}
	public Timestamp getEndTime() {
		return endTime;
	}
	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}
	public String getReNewType() {
		return reNewType;
	}
	public void setReNewType(String reNewType) {
		this.reNewType = reNewType;
	}
	public String getUpGradeType() {
		return upGradeType;
	}
	public void setUpGradeType(String upGradeType) {
		this.upGradeType = upGradeType;
	}
	public String getRegionType() {
		return regionType;
	}
	public void setRegionType(String regionType) {
		this.regionType = regionType;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getPriceType() {
		return priceType;
	}
	public void setPriceType(String priceType) {
		this.priceType = priceType;
	}
	public String getGoodAlias() {
		return goodAlias;
	}
	public void setGoodAlias(String goodAlias) {
		this.goodAlias = goodAlias;
	}
	public String getGoodsAppendValue() {
		return goodsAppendValue;
	}
	public void setGoodsAppendValue(String goodsAppendValue) {
		this.goodsAppendValue = goodsAppendValue;
	}
	public String getPricePromitionYears() {
		return pricePromitionYears;
	}
	public void setPricePromitionYears(String pricePromitionYears) {
		this.pricePromitionYears = pricePromitionYears;
	}
	public String getPageCode() {
		return pageCode;
	}
	public void setPageCode(String pageCode) {
		this.pageCode = pageCode;
	}
	public String getGoodClass() {
		return goodClass;
	}
	public void setGoodClass(String goodClass) {
		this.goodClass = goodClass;
	}
}
